package com.eshop.pojo;


import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * 资源表(Resource)表实体类
 *
 * @author makejava
 * @since 2024-01-17 15:13:46
 */
@SuppressWarnings("serial")
public class Resource extends Model<Resource> {

    private Long id;
    //创建时间
    private Date createTime;
    //资源名称
    private String name;
    //资源权限标识符
    private String permission;
    //描述
    private String description;
    //资源分类ID(用户管理1 权限模块2 商品模块3 订单模块4  数据统计5 其他模块6)
    private Long categoryId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
}

